package com.books.model.entity.address;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import javax.persistence.Table;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Component
public class Receiving_address implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String phone;
    private String address;
    private Integer zipCode;
    private Integer peopleId;
}
